<?php /* Smarty version Smarty-3.1.12, created on 2016-05-17 09:42:57
         compiled from "/home/weixincn86dwleoi1xmibn6cinm896/wwwroot/template/default/model/product_sorta.tpl" */ ?>
<?php /*%%SmartyHeaderCode:527762192573a7721633dc9-47908577%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '170fd41a2de07b2bb9c7bdb80a1696e2f2e1d740' => 
    array (
      0 => '/home/weixincn86dwleoi1xmibn6cinm896/wwwroot/template/default/model/product_sorta.tpl',
      1 => 1453877978,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '527762192573a7721633dc9-47908577',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'data_home' => 0,
    'volist' => 0,
    'seclist' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_573a772175f307_92959925',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_573a772175f307_92959925')) {function content_573a772175f307_92959925($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include '/home/weixincn86dwleoi1xmibn6cinm896/wwwroot/source/core/plugins/modifier.truncate.php';
?><ul class="sort_a">
  <?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['volist']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data_home']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
$_smarty_tpl->tpl_vars['volist']->_loop = true;
?>
  	<div class="layer1">
      <a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['volist']->value['cname'];?>
" class="img"><img src="<?php echo $_smarty_tpl->tpl_vars['volist']->value['img'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['volist']->value['cname'];?>
" /></a>
      <div class="img_right">
          <h3><a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['volist']->value['cname'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['volist']->value['cname'],25);?>
</a></h3>
          <span><?php echo $_smarty_tpl->tpl_vars['volist']->value['intro'];?>
</span>
      </div>
      <div class="clearboth"></div>
      <div class="pro_more"><span>+</span><a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
">查看详情》</a></div>
    </div>
    <div class="abb_product">
      <ul class="product_list clearfix">
        <?php  $_smarty_tpl->tpl_vars['seclist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['seclist']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['volist']->value['product']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['seclist']->key => $_smarty_tpl->tpl_vars['seclist']->value){
$_smarty_tpl->tpl_vars['seclist']->_loop = true;
?>
          <li>
            <a href="<?php echo $_smarty_tpl->tpl_vars['seclist']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['seclist']->value['title'];?>
" class="img"><img src="<?php echo $_smarty_tpl->tpl_vars['seclist']->value['thumbfiles'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['seclist']->value['title'];?>
" /></a>
            <h3><a href="<?php echo $_smarty_tpl->tpl_vars['seclist']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['seclist']->value['title'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['seclist']->value['title'],20);?>
</a></h3>
          </li>
        <?php } ?>
      </ul>
    </div>
  <?php } ?>   
</ul>
<script type="text/javascript">
  $(function(){
    $(".sort_a .abb_product").each(function(){
      var num = $(this).find(".product_list li").length;
      if(num == 0){
        $(this).hide();
      }
    });
  });
</script><?php }} ?>